package com.mvc.base.model;

import javax.persistence.Entity;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Length;

/**
 * 
 * @author snowpbx
 * @version V1.0 Create Time: 2012-11-18
 */
@Entity(name = "B_COURIER")
public class Courier extends BaseCompany {
	@NotNull
	@Length(max = 32)
	private String	name;

	@Length(max = 64)
	private String	address;

	@Length(max = 32)
	private String	linkPerson;
	@Length(max = 32)
	private String	linkTelephone;

	private Integer	status;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getLinkPerson() {
		return linkPerson;
	}

	public void setLinkPerson(String linkPerson) {
		this.linkPerson = linkPerson;
	}

	public String getLinkTelephone() {
		return linkTelephone;
	}

	public void setLinkTelephone(String linkTelephone) {
		this.linkTelephone = linkTelephone;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
}
